<html>
<head><meta charset="utf-8"><title>rust-analyzer#2948 · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer.232948.html">rust-analyzer#2948</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="187077634"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer%232948/near/187077634" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer.232948.html#187077634">(Jan 31 2020 at 12:13)</a>:</h4>
<p>Can someone more familiar with the AST API (that is, anyone) take a look at <a href="https://github.com/rust-analyzer/rust-analyzer/pull/2948" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/pull/2948">#2948</a>? I'm sure I'm horribly misusing it. Also, the <code>Option&lt;_&gt;</code> test seems to fail even though it works in Code.</p>



<a name="187079428"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer%232948/near/187079428" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Florian Diebold <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer.232948.html#187079428">(Jan 31 2020 at 12:41)</a>:</h4>
<p>for the <code>Option</code> test, keep in mind that unit tests don't have the standard library. you need to define <code>Option</code> yourself to use it</p>



<a name="187080974"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer%232948/near/187080974" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer.232948.html#187080974">(Jan 31 2020 at 13:01)</a>:</h4>
<p>I thought about that, but other tests use <code>Option</code> without defining it. Maybe they don't expect <code>Some</code> to resolve.</p>



<a name="208507798"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer%232948/near/208507798" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Gray Jack <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer.232948.html#208507798">(Aug 30 2020 at 22:45)</a>:</h4>
<p>Is it here that I can ask questions about rust-analyzer AstNodes?</p>



<a name="208534496"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer%232948/near/208534496" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/rust-analyzer.232948.html#208534496">(Aug 31 2020 at 09:06)</a>:</h4>
<p>A new topic would probably make more sense, but you can ask here</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>